<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.4"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Flow-IPC: transport/detail/asio_local_stream_socket_fwd.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Flow-IPC<span id="projectnumber">&#160;2.0.0</span>
   </div>
   <div id="projectbrief">Flow-IPC project: Full implementation reference.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_0c017496b493ff066fbbe686970307ba.html">transport</a></li><li class="navelem"><a class="el" href="dir_e82f953eb2d89bcd842ae00e323ae1e5.html">detail</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle"><div class="title">asio_local_stream_socket_fwd.hpp File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="asio__local__stream__socket__fwd_8hpp_source.html">ipc/transport/asio_local_stream_socket_fwd.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="shared__name__fwd_8hpp_source.html">ipc/util/shared_name_fwd.hpp</a>&quot;</code><br />
<code>#include &lt;flow/util/util.hpp&gt;</code><br />
</div>
<p><a href="detail_2asio__local__stream__socket__fwd_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespaceipc"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceipc.html">ipc</a></td></tr>
<tr class="memdesc:namespaceipc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Catch-all namespace for the Flow-IPC project: A library/API in modern C++17 providing high-performance communication between processes. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespaceipc_1_1transport"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceipc_1_1transport.html">ipc::transport</a></td></tr>
<tr class="memdesc:namespaceipc_1_1transport"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flow-IPC module providing transmission of structured messages and/or low-level blobs (and more) between pairs of processes. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespaceipc_1_1transport_1_1asio__local__stream__socket"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html">ipc::transport::asio_local_stream_socket</a></td></tr>
<tr class="memdesc:namespaceipc_1_1transport_1_1asio__local__stream__socket"><td class="mdescLeft">&#160;</td><td class="mdescRight">Additional (versus boost.asio) APIs for advanced work with local stream (Unix domain) sockets including transmission of native handles through such streams; and peer process credentials acquisition. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:af872520154fc00afaa59c7eec607a225"><td class="memItemLeft" align="right" valign="top">Endpoint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#af872520154fc00afaa59c7eec607a225">ipc::transport::asio_local_stream_socket::endpoint_at_shared_name</a> (flow::log::Logger *logger_ptr, const Shared_name &amp;absolute_name, Error_code *err_code=0)</td></tr>
<tr class="memdesc:af872520154fc00afaa59c7eec607a225"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an <a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a05656e297b98f4c370841d2f9be52a5f" title="Short-hand for boost.asio Unix domain peer stream-socket endpoint.">Endpoint</a> corresponding to the given absolute Shared_name, so that an <a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a154986f10d30d850de86fc3924766e66" title="Short-hand for boost.asio Unix domain stream-socket acceptor (listening guy) socket.">Acceptor</a> or <a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a1788f9dbd896bb71b3693f9ae25b40ae" title="Short-hand for boost.asio Unix domain peer stream-socket (usually-connected-or-empty guy).">Peer_socket</a> could be bound to it.  <a href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#af872520154fc00afaa59c7eec607a225">More...</a><br /></td></tr>
<tr class="separator:af872520154fc00afaa59c7eec607a225"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a677a303f9f81cc5661bd2b34a29309f7"><td class="memTemplParams" colspan="2">template&lt;typename Task_err &gt; </td></tr>
<tr class="memitem:a677a303f9f81cc5661bd2b34a29309f7"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a677a303f9f81cc5661bd2b34a29309f7">ipc::transport::asio_local_stream_socket::on_wait_writable_or_error</a> (flow::log::Logger *logger_ptr, const Error_code &amp;sys_err_code, Native_handle payload_hndl, const util::Blob_const &amp;payload_blob, Peer_socket *peer_socket, Task_err &amp;&amp;on_sent_or_error)</td></tr>
<tr class="memdesc:a677a303f9f81cc5661bd2b34a29309f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper of <a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a68071e53f4a048084f8ad26ff3ac6711" title="boost.asio extension similar to boost::asio::async_write(Peer_socket&amp;, Blob_const,...">async_write_with_native_handle()</a> used as the callback executed when waiting for writability of the given connected local peer socket, with the idea to execute a native <code>sendmsg()</code> call and all further parts of the async send op started by <a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a68071e53f4a048084f8ad26ff3ac6711" title="boost.asio extension similar to boost::asio::async_write(Peer_socket&amp;, Blob_const,...">async_write_with_native_handle()</a>.  <a href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a677a303f9f81cc5661bd2b34a29309f7">More...</a><br /></td></tr>
<tr class="separator:a677a303f9f81cc5661bd2b34a29309f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21a4f47fcb36b51c30f45e27d79ca8d8"><td class="memTemplParams" colspan="2">template&lt;bool TARGET_TBD, typename Task_err_blob , typename Target_payload_blob_func , typename Should_interrupt_func &gt; </td></tr>
<tr class="memitem:a21a4f47fcb36b51c30f45e27d79ca8d8"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a21a4f47fcb36b51c30f45e27d79ca8d8">ipc::transport::asio_local_stream_socket::on_wait_readable_or_error</a> (flow::log::Logger *logger_ptr, const Error_code &amp;sys_err_code, Peer_socket *peer_socket, Should_interrupt_func &amp;&amp;should_interrupt_func, Task_err_blob &amp;&amp;on_rcvd_or_error, Target_payload_blob_func &amp;&amp;target_payload_blob_func, util::Blob_mutable target_payload_blob, size_t n_rcvd_so_far)</td></tr>
<tr class="memdesc:a21a4f47fcb36b51c30f45e27d79ca8d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper of <a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#acf7bdf0c727cbf0c5297125c762e1001" title="boost.asio extension similar to boost::asio::async_read(Peer_socket&amp;, Blob_mutable,...">async_read_with_target_func()</a> containing its core (asynchronously) recursive implementation.  <a href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a21a4f47fcb36b51c30f45e27d79ca8d8">More...</a><br /></td></tr>
<tr class="separator:a21a4f47fcb36b51c30f45e27d79ca8d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 11 2025 20:02:26 for Flow-IPC by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
</small></address>
</body>
</html>
